﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Entity.PagedList<Entity.EEE114.Web_ExceptionLog_Ext>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	WebExceptionLogList
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>
        <span class="action-span1"><a href="javascript:void(0);" target="_self">异常信息管理</a> -
            异常信息－异常信息列表</span>
        <div style="clear: both">
        </div>
    </h1>
    <form action="" method="post">
        <div style="width:100%">
            <div  style="float:left">
                操作发生时间：
            </div>
            <div style="float:left">
                <input id="txtstarttime" type="text" onfocus="WdatePicker({isShowClear:false,readOnly:false})" style="cursor:pointer" />
                至
                <input id="txtendtime" type="text" onfocus="WdatePicker({isShowClear:false,readOnly:false})" style="cursor:pointer" />
            </div> 
            <div style="float:left">
                <input type="button" value="查询" name="subCondition" />
            </div>
        </div>
    </form>
    <br />
    <br />
    <div id="divRes_Item">
        <%Html.RenderPartial("WebExceptionLog_List", Model);%>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
    <script src="../../Scripts/My97DatePicker4.7/WdatePicker.js" type="text/javascript"></script>

    <script type="text/javascript" language="javascript">
        $(function () {
            //按条件查询
            $("input[name=subCondition]").click(function () {
                var StartTime = $("#txtstarttime").val();
                var EndTime = $("#txtendtime").val();

                $.post("/System/WebExceptionLogList", { "StartTime": StartTime, "EndTime": EndTime }, function (html) {
                    $('#divRes_Item').html(html);
                }
                )
            }
            )
        })
    </script>
</asp:Content>
